
#include "Transform.h"
#include "gl/gl.h"

Transform::Transform(Matrix m)
{
    matrix = m;
}

Transform::~Transform() {}

void Transform::render(float timeElapsed)
{
     glPushMatrix();
     glMultMatrixf(matrix.ptr());
}

void Transform::postRender(float timeElapsed)
{
     glPopMatrix();
}

void Transform::update(float timeElapsed)
{ 
     std::cout << "Updating a Transform " << std::endl; 
}
